package com.cn.byjk.Controller;

import com.cn.byjk.service.SendMessageService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zhangdianzhi
 * @version v1.0
 * @description
 * @date 2022/1/08 10:36
 */
@RestController
public class SendMessageController {
    @Resource
    private SendMessageService message;

    @GetMapping(value = "/sendMessage")
    public String senMessage(){
        return message.send();

    }
}
